<h2>instant.js</h2>
<p>Provides pop-up functionality to any element.</p>

<strong style="color:#f00">This API was changed recently. Backward compatibility should be preserved, but please check if your functionality remained the same.</strong>

<hr/>

<h3>Objects</h3>
<ul>
	<li><a href="#instant">OAT.Instant(element, optObj)</a></li>
</ul>

<h3>Methods</h3>
<ul>
	<li><a href="#show">OAT.Instant::show()</a></li>
	<li><a href="#hide">OAT.Instant::hide()</a></li>
</ul>

<hr/>

<h3><a name="instant">OAT.Instant(element, optObj)</a></h3>
<p>Assigns <em>element</em> a pop-up functionality. The element can be then shown by 
<code>OAT.Instant::show()</code> and will be hidden by clicking elsewhere - or by <code>OAT.Instant::hide()</code>. <em>optObj</em> may contain:</p>

<ul>
	<li>showCallback - function reference to be executed when popup is shown</li>
	<li>hideCallback - function reference to be executed when popup is hidden</li>
</ul>

<h3><a name="show">OAT.Instant::show()</a></h3>
<p>Show the element.</p>

<h3><a name="hide">OAT.Instant::hide()</a></h3>
<p>Explicitly hide the element.</p>

